package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class HelpWork implements Serializable {
    /**
     * 主键
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 用户id
     *
     * @mbg.generated
     */
    private Integer userId;

    /**
     * 产品id
     *
     * @mbg.generated
     */
    private Integer productId;

    /**
     * 规格id
     *
     * @mbg.generated
     */
    private Integer productSpecId;

    /**
     * 产品名称
     *
     * @mbg.generated
     */
    private String productName;

    /**
     * 产品标题
     *
     * @mbg.generated
     */
    private String productTitle;

    /**
     * 产品价格
     *
     * @mbg.generated
     */
    private BigDecimal productPrice;

    /**
     * 已砍价格
     *
     * @mbg.generated
     */
    private BigDecimal productPriceKo;

    /**
     * 助理数量
     *
     * @mbg.generated
     */
    private Integer helpNum;

    /**
     * 已助力数量
     *
     * @mbg.generated
     */
    private Integer helpNumKo;

    /**
     * 背景图片
     *
     * @mbg.generated
     */
    private String productImg;

    /**
     * 失效到期时间
     *
     * @mbg.generated
     */
    private Date invalidTime;

    /**
     * 1：助力中，2：助力失效，3：助力完成  4:已发测评
     *
     * @mbg.generated
     */
    private Integer status;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 修改时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     * 完成是生成的订单详情id
     */
    private Integer orderInfoId;

    public Integer getOrderInfoId() {
        return orderInfoId;
    }

    public void setOrderInfoId(Integer orderInfoId) {
        this.orderInfoId = orderInfoId;
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getProductSpecId() {
        return productSpecId;
    }

    public void setProductSpecId(Integer productSpecId) {
        this.productSpecId = productSpecId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductTitle() {
        return productTitle;
    }

    public void setProductTitle(String productTitle) {
        this.productTitle = productTitle;
    }

    public BigDecimal getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(BigDecimal productPrice) {
        this.productPrice = productPrice;
    }

    public BigDecimal getProductPriceKo() {
        return productPriceKo;
    }

    public void setProductPriceKo(BigDecimal productPriceKo) {
        this.productPriceKo = productPriceKo;
    }

    public Integer getHelpNum() {
        return helpNum;
    }

    public void setHelpNum(Integer helpNum) {
        this.helpNum = helpNum;
    }

    public Integer getHelpNumKo() {
        return helpNumKo;
    }

    public void setHelpNumKo(Integer helpNumKo) {
        this.helpNumKo = helpNumKo;
    }

    public String getProductImg() {
        return productImg;
    }

    public void setProductImg(String productImg) {
        this.productImg = productImg;
    }

    public Date getInvalidTime() {
        return invalidTime;
    }

    public void setInvalidTime(Date invalidTime) {
        this.invalidTime = invalidTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", productId=").append(productId);
        sb.append(", productSpecId=").append(productSpecId);
        sb.append(", productName=").append(productName);
        sb.append(", productTitle=").append(productTitle);
        sb.append(", productPrice=").append(productPrice);
        sb.append(", productPriceKo=").append(productPriceKo);
        sb.append(", helpNum=").append(helpNum);
        sb.append(", helpNumKo=").append(helpNumKo);
        sb.append(", productImg=").append(productImg);
        sb.append(", invalidTime=").append(invalidTime);
        sb.append(", status=").append(status);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}